﻿@model Umzugsfirma.ViewModels.OpportunityCreateViewModel
<div class="reformed-form">
    <form method="post">
        <fieldset>
            @Html.Hidden("PageState", Model.PageState)
            @Html.Hidden("CompanyType", Model.CompanyType)
            <legend>Rechnungsadresse</legend>
            <dl>
                <dt>
                    <label for="title">Anrede</label>
                </dt>
                <dd>
                    @Html.DropDownListFor(model => model.Items, (IEnumerable<SelectListItem>)ViewData["SelectedItemId"])
                </dd>
            </dl>
            <dl>
                <dt>
                    <label for="forename">Vorname</label>
                </dt>
                <dd>
                    @Html.TextBox("Forename", Model.Forename)
                </dd>
            </dl>
            <dl>
                <dt>
                    <label for="surname">Nachname</label>
                </dt>
                <dd>
                    @Html.TextBox("Surename", Model.Surname)
                </dd>
            </dl>
            <dl>
                <dt>
                    <label for="address1">Strasse</label>
                </dt>
                <dd>
                    @Html.TextBox("Street", Model.Street)
                </dd>
            </dl>
            <dl>
                <dt>
                    <label for="address2" />
                </dt>
                <dd>
                    @Html.TextBox("Street2", Model.Street2)
                </dd>
            </dl>
            <dl>
                <dt>
                    <label for="houseNr">Hausnummer</label>
                </dt>
                <dd>
                    @Html.TextBox("HouseNr", Model.HouseNr)
                </dd>
            </dl>
            <dl>
                <dt>
                    <label for="zipCode">PLZ</label>
                </dt>
                <dd>
                    @Html.TextBox("ZipCode", Model.ZipCode)
                </dd>
            </dl>
            <dl>
                <dt>
                    <label for="city">Ort</label>
                </dt>
                <dd>
                    @Html.TextBox("City", Model.City)
                </dd>
            </dl>
        </fieldset>
        <input name="submit" type="submit" id="continue" value="Weiter" />
        <input name="submit" type="submit" id="back" value="Zurück" />
        <br />
        <input name="submit" type="submit" id="cancel" value="Abrechen" />
    </form>
</div>
